<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>layPage快速使用</title>
  <jsp:include page="common.jsp"></jsp:include>
  <link rel="stylesheet" href="/static/build/layui.css" media="all">
</head>
<body>
 
	<div id="test1"></div>
	<script>
		layui.use('laypage', function(){
		  var laypage = layui.laypage;
		  
		  //执行一个laypage实例
		  laypage.render({
		    elem: 'test1' //注意，这里的 test1 是 ID，不用加 # 号
		    ,count: 50 //数据总数，从服务端得到
	  });
	});
    </script>
</body>
</html>
      